Sponsored Content
Top Forums UNIX for Advanced & Expert Users How do I interface with pf in a C/C++ application? Post 302951388 by nactusberrilli on Wednesday 5th of August 2015 10:36:44 PM
Old 08-05-2015
How do I interface with pf in a C/C++ application?

I'd like to write a simple GUI C/C++ application (a simple interface) where the user can perform a few pf operations and also receive pf feedback (instead of using the pfctl command). I was hoping to get some guidance in regards to where to get started. The pf suggests the use of the ioctl interface . I can see a bunch of constants that start with "DIOC". A quick example or a tutorial on how to get started developing with pf would be more than appreciated. Thanks.
 

3 More Discussions You Might Find Interesting

1. Solaris

Command line Interface or GUI Interface not shown on solaris

Dear all, I am a newbie in solaris and I need your advice. I have a Solaris version 5.9 installed on Sunfire V240. I am able to ssh the machine from putty remotely. My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Discussion started by: mbouster
2 Replies

2. SCO

Change SCO - GUI or Desktop interface to DOS based interface

Hi all I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface? If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies

3. IP Networking

Need a bridge from an ethernet interface to a serial interface

This is my situation DOS pc serial cable (sl0) Linux Pc eth1 192.168.0.10 <-------------------->192.168.0.2 <------------>192.168.0.1 (router) I connected the linux pc and the dos pc with a SLIP (serial line internet protocol), so they can communicate in the sl0 interface. ... (3 Replies)
Discussion started by: mghis
3 Replies
AUTHCONFIG-GTK(8)					      System Manager's Manual						 AUTHCONFIG-GTK(8)

NAME
authconfig-gtk, system-config-authentication - GUI utility for configuring user identity and system authentication services SYNOPSIS
authconfig-gtk [--nox] [--updateall] [--firstboot] DESCRIPTION
authconfig-gtk provides a simple graphical user interface for configuring user identity and system authentication services. It provides basic configuration options to handle NIS, LDAP, Kerberos 5, and Winbind client configuration. OPTIONS
If the --nox option is specified, authconfig command line utility is run instead of the GUI. The --updateall option forces overwriting of all configuration files not only the files affected by the changes made in the user interac- tion with the GUI. This option can be useful in case the configuration files are broken by manual editing. The --firstboot option is to be used only when firstboot utility runs the GUI during the first setup of the system after installation. RETURN CODES
authconfig-gtk returns 0 on success, non zero on error. SEE ALSO
authconfig(8), system-auth-ac(5) AUTHORS
Nalin Dahyabhai <nalin@redhat.com>, Preston Brown <pbrown@redhat.com>, Matt Wilson <msw@redhat.com>, Tomas Mraz <tmraz@redhat.com> Red Hat, Inc. 31 March 2010 AUTHCONFIG-GTK(8)
All times are GMT -4. The time now is 12:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy